import java.util.Arrays;

public class TransForm {
    public static void main(String[] args) {
        int [] a=new int[]{1,2,3,4};
        transForm(a);
        String ret= Arrays.toString(a);
        System.out.println(ret);
    }

    public static void  transForm(int [] num){
        int i=0;
        for (i = 0; i <num.length ; i++) {
            num[i]=num[i]*2;
        }
    }
}
